package org.jeecg.modules.xl.kuaimai.entity;

import cn.hutool.core.date.DateUtil;
import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "xl_kuaimai_purchase_order")
public class XlKuaimaiPurchaseOrder {
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    @TableField(value = "code")
    private String code;

    @TableField(value = "`status`")
    private String status;

    @TableField(value = "receive_warehouse_id")
    private Integer receiveWarehouseId;

    @TableField(value = "receive_warehouse_name")
    private String receiveWarehouseName;

    @TableField(value = "supplier_code")
    private String supplierCode;

    @TableField(value = "supplier_name")
    private String supplierName;

    /**
     * 采购数
     */
    @TableField(value = "quantity")
    private String quantity;

    /**
     * 到货数量
     */
    @TableField(value = "arrived_quantity")
    private String arrivedQuantity;

    /**
     * 已收数量
     */
    @TableField(value = "receive_quantity")
    private String receiveQuantity;

    /**
     * 作废数
     */
    @TableField(value = "cancel_quantity")
    private String cancelQuantity;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "finished_time")
    private Date finishDate;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "create_time")
    private Date created;


    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "update_time")
    private Date modified;



}